package cn.cvs.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: lh
 * @Date: 2023/5/3 21:50
 * @Package:cn.cvs.controller
 */


/**
 *  用户模块
 */
@Controller
@RequestMapping("/user")
public class UserController {
    private Logger log = Logger.getLogger(UserController.class);

    /**
     * 查询用户详情
     * @return
     */
    @RequestMapping(value = "/view",method = RequestMethod.GET)
    public String view(){
//        System.out.println("哈哈哈哈哈哈");
        log.info("查询用户详情");
        return null;
    }


    @RequestMapping(value = "/save",method = RequestMethod.POST)
    public String save(){
//        System.out.println("哈哈哈哈哈哈");
        log.info("保存用户详情");
        return null;
    }
}
